/*文字*/
//粗体
.a-strong {
  font-weight: 700;
}

//文字溢出省略 需另行定义宽度
.a-text-cut {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

//居中删除线
.a-text-delete-line {
  text-decoration: line-through;
}

//底部边框
.a-border-bottom {
  border-bottom: 1px solid #EEEEEE;
}

//横向滚动
.a-scroll-x {
  overflow-x: auto;
  white-space: nowrap;
}

//清除浮动
.a-clear {
  clear: both;
}

/*flex*/
.a-flex-space-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.a-flex-start {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.a-flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.a-flex-end {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.a-flex-item {
  flex: 1;
}


.a-flex-start.start {
  align-items: flex-start;
}

/*弹层提示*/

.a-popup-mask {
  height: 100vh;
  width: 100%;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  background-color: black;
  opacity: 0.3;
}

.a-dialog {
  position: fixed;
  background-color: white;
  border-radius: 10px;
  left: 5%;
  top: 30vh;
  z-index: 1010;
  width: 90%;
  text-align: center;
  font-size: unit(32, rpx);

  .a-dialog-title {
    font-weight: 700;
    line-height: 40px;
    padding-top: 10px;

  }

  .a-dialog-msg {
    color: #4b4b4b;
    border-bottom: 1px solid #eeeeee;
    margin: 16px 16px 0 16px;
    padding-bottom: 32px;

  }

  .a-dialog-action {
    display: flex;
    line-height: unit(80, rpx);

    view {
      flex: 1;
      text-align: center;
    }

    view + view {
      border-left: 1px solid #eeeeee;
    }

    .color-cancel {
      color: #999999;
    }

    .color-primary {
      color: #576B95;
    }
  }
}

.a-popup {
  background-color: white;
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: 2000;
  overflow: auto;
}

.a-popup.a-popup-right {
  top: 0;
  right: -100%;
  transition: right 0.5s;
}

.a-popup.a-popup-right.a-popup-show {
  right: 0;
}

.a-popup.a-popup-left {
  top: 0;
  left: -100%;
  transition: left 0.5s;
}

.a-popup.a-popup-left.a-popup-show {
  left: 0;
}

.a-popup.a-popup-top {
  top: -100vh;
  left: 0;
  transition: top 0.5s;
}
.a-popup.a-popup-top.a-popup-show {
  top: 0;
}

.a-popup.a-popup-bottom {
  bottom: -100vh;
  left: 0;
  transition: bottom 0.5s;
}
.a-popup.a-popup-bottom.a-popup-show {
  bottom: 0;
}
